import {EnvironmentProviders, importProvidersFrom} from '@angular/core';
import {
  BookOutline,
  EnterOutline,
  LockOutline,
  LoginOutline,
  MenuFoldOutline,
  MenuUnfoldOutline,
  PlusOutline,
  RollbackOutline,
  SearchOutline,
  UserOutline
} from '@ant-design/icons-angular/icons';
import {NzIconModule} from 'ng-zorro-antd/icon';

const icons = [PlusOutline, UserOutline, BookOutline, LoginOutline, MenuFoldOutline, MenuUnfoldOutline,
  EnterOutline, LockOutline, SearchOutline, RollbackOutline];

export function provideNzIcons(): EnvironmentProviders {
  return importProvidersFrom(NzIconModule.forRoot(icons));
}
